NDesk.Options Namespace > OptionSet Class > Add Method : Add<T>(String,Action<T>) Method |
'Declaration
Public Overloads Function Add(Of T)( _ ByVal prototype As System.String, _ ByVal action As System.Action(Of T) _ ) As OptionSet
'Usage
Dim instance As OptionSet Dim prototype As System.String Dim action As System.Action(Of T) Dim value As OptionSet value = instance.Add(Of T)(prototype, action)
public: OptionSet* Add<T>( System.string* prototype, System.Action<T*>* action )
public: OptionSet^ Addgeneric<typename T> ( System.String^ prototype, System.Action<T^>^ action )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2